﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using JJYYCore;

public class ExampleCollectionRes : PoolResMono
{
    public override string ID { get=>"ExampleRes"; }

    public override void LoadFromPool()
    {
        Active = true;
        gameObject.SetActive(true);
    }

    public override void Collect()
    {
        Active = false;
        gameObject.SetActive(false);
    }
}
